package org.example.domain.strategy.service.rule.chain;

/**
 * @Author: PengHao
 * @CreateTime: 2025-07-15  15:27
 * @Description: TODO
 */
public abstract class AbstractLogicChain implements ILogicChain {

    private ILogicChain next;

    @Override
    public ILogicChain appendNext(ILogicChain iLogicChain) {
        this.next = iLogicChain;
        return iLogicChain;
    }

    @Override
    public ILogicChain next() {
        return next;
    }

    protected abstract String ruleModel();
}
